package com.campus.dao;

import com.campus.model.User;

import java.util.List;

public interface UserDao {

    User login(String loginName, String password);

    int addUser(User user);

    int updateUser(User user);

    List<User> queryUser(String keyword);
}
